// 是否无界微前端环境
export const isMicro = window.$wujie ? true : false;

// 微前端路由跳转
export const routeChange = (url: string) => {
  if (!window.$wujie) return;
  window.$wujie.bus.$emit('routeChange', url);
  return url;
};
